<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of StaffController
 *
 * @author vampired
 */
class StaffController extends Zend_Controller_Action {

    public function indexAction() {
        $this->view->staff= StaffTable::getStaff();
        $this->view->root=ROOT_PATH;
//        var_dump($staff);die();
    }
    
        public function doctorAction() {
        $this->view->doctor= StaffTable::getDoctor($_GET['id']);
        $this->view->root=ROOT_PATH;
//        var_dump($staff);die();
    }

}
